/**
 * Created by leo on 2/2.
 */
angular.module('panels')
    .directive('panelBomMyServicesStatus1', function (loadConf, $http) {
        return {
            scope: {},
            link: function (scope) {
                loadConf('panel-bom-my-services-status1.yml').then(function (setting) {

                    $http.jsonp(setting.listQueryUrl).success(function (rows) {
                        scope.rows =JSON.parse(rows).getJSONArray("data");
                        //scope.rows=rows;
                    });
                });
            },
            templateUrl: 'app/panel/bom/my-services-status1.html'
        };
    });